<?php require_once('../../core/import.php');?>
<?php User::Permission('INDUSTRY_ADD'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <script type="text/javascript" src="../../scripts/import.js"></script>
    <script type="text/javascript" src="../../scripts/components/kindeditor/import.kindeditor.js"></script>
    <script type="text/javascript" src="scripts/add.js"></script>
</head>

<body>
    <form id="Form1" name="Form1" method="post" enctype="multipart/form-data" action="add.action.php" class="Form">
        <fieldset>
            <legend>展会信息</legend>
            <table width="100%" cellpadding="1" cellspacing="0">
            <tr>
                <td width="130" height="25" align="left">展会名称：</td>
                <td width="909" colspan="2">
                    <input type="text" id="Title" name="Title"  size="40" class="Textbox" />
                </td>
            </tr>
             <tr>
                <td width="130" height="25" align="left">开始时间：</td>
                <td width="909" colspan="2">
                    <input type="text" id="StartDatetime" name="StartDatetime" size="40" class="Textbox" />
                </td>
            </tr>
             <tr>
                <td width="130" height="25" align="left">结束时间：</td>
                <td width="909" colspan="2">
                    <input type="text" id="EndDatetime" name="EndDatetime" size="40" class="Textbox" />
                </td>
            </tr>
             <tr>
                <td width="130" height="25" align="left">展会地点：</td>
                <td width="909" colspan="2">
                    <input type="text" id="Place" name="Place" size="40" class="Textbox" />
                </td>
            </tr>
            <tr>
                <td width="130" height="25" align="left">联系电话：
                     </td>
                <td width="909" colspan="2"><input type="text" id="LinkPhone" name="LinkPhone" size="40" class="Textbox" />
                      </td>
            </tr>
            <tr>
                <td width="130" height="25" align="left">展品范围：</td>
                <td width="909" colspan="2">
                    <input type="text" id="Scope" name="Scope" size="40" class="Textbox" />
                </td>
            </tr>
            <tr>
            	<td height="25" align="left" valign="top">详细介绍：</td>
            	<td colspan="2"><textarea id="Content" name="Content" style="width:100%; height:500px;"></textarea></td>
            </tr>
           <tr>
             	<td height="25" align="left" valign="middle">缩略图：</td>
            	<td colspan="2"><input type="File" id="ThumbnailPath" name="ThumbnailPath" class="Textbox" /></td>
            </tr>
               </table>
        </fieldset>

 <fieldset>
            <legend>其它选项</legend>
            <table width="100%" cellpadding="1" cellspacing="0">
            <tr>
                <td width="130" height="25" align="left" valign="middle">类别：</td>
                <td width="909" colspan="2">
                <select name="ClassID" size="1" id="ClassID">
	  		<option value="">--请选择类别--</option> 
			<?php	
			$Data=DB::GetRows('select Identifying,Name from `exhibition_infos_class` ');
				  foreach($Data as $Row)
				  {
                  ?>
                  <option value="<?php echo $Row['Identifying'];?>"> <?php echo $Row['Name'];?></option>
                  <?php 
                   	  }
                  ?>
                  </select>
                </td>
            </tr>
            <tr>
            	<td height="25" align="left" valign="middle">置顶：</td>
            	<td colspan="2"> 
                  	<input type="radio" name="M_IsTop" value="1" /> 是&nbsp;
	  			<input type="radio" name="M_IsTop" value="0" checked/> 否 
                  </td>
            </tr>
            <tr>
            	<td height="25" align="left" valign="middle">特别推荐：</td>
            	<td colspan="2"> 
                  	<input type="radio" name="M_IsRecommend" value="1" /> 是&nbsp;
	  			<input type="radio" name="M_IsRecommend" value="0" checked/> 否 
                  </td>
            </tr>
            <tr>
            <td height="25" align="left" valign="middle">合作展会</td>
            <td colspan="2">
                  	<input name="M_IsCooperation" type="radio" id="M_IsCooperation" value="1" /> 是&nbsp;
	  			<input name="M_IsCooperation" type="radio" id="M_IsCooperation" value="0" checked/> 否             
            </td>
            </tr>
               </table>
        </fieldset>

        <input id="ActionButton" name="ActionButton" type="submit" value="确定" class="button" /> <input id="ResetButton" name="ResetButton" type="reset" value="重置" class="button" />
    </form>
</body>
</html>